package com.mintingi.pattern.decorator;

/**
 * 커피에 들어갈 휘핑크림 데코레이션 클래스
 * 
 * @author mintingi
 *
 */
public class Whip extends CoffeeDecorator {

	public Whip(Coffee decorateCoffee) {
		super(decorateCoffee);
	}

	@Override
	public double getCost() {
		return super.getCost() + 0.7;
	}

	@Override
	public String getIngredients() {
		return super.getIngredients() + INGREDIENT_SEPARATOR + "Whip";
	}

	
}
